package com.jsmtr.rms.entity;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "DoMS_Result")
public class DoMSResult {

    @Id
    @Column(nullable = false, length = 50)
    private String id; // 面试结果ID

    @Column(nullable = false, length = 50)
    private String msuid; // 参面人员ID（DoMSUser的ID）

    @Column(nullable = false)
    private Integer result; // 0:好(90分以上) 1:较好(80-89分) 2:一般(60-79分) 3:不通过(59分及以下)

    @Column(nullable = false)
    private Integer point; // 总分

    @Column(nullable = true, length = 1000)
    private String remark; // 评价信息

    /*评分人*/

    @Column(nullable = false, length = 50)
    private String code; // 考官编号

    @Column(nullable = false, length = 50)
    private String uname; // 考官姓名

    @Column(nullable = false, length = 10)
    private String uweight; // 评分权重

    @Column(nullable = false, length = 10)
    private String role; // 是不是主考官

    @Column(nullable = false)
    private Date addtime;//评分时间

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMsuid() {
        return msuid;
    }

    public void setMsuid(String msuid) {
        this.msuid = msuid;
    }

    public Integer getResult() {
        return result;
    }

    public void setResult(Integer result) {
        this.result = result;
    }

    public Integer getPoint() {
        return point;
    }

    public void setPoint(Integer point) {
        this.point = point;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    public String getUweight() {
        return uweight;
    }

    public void setUweight(String uweight) {
        this.uweight = uweight;
    }

    public String getRole() {
        return role;
    }

    public void setRole(String role) {
        this.role = role;
    }

    public Date getAddtime() {
        return addtime;
    }

    public void setAddtime(Date addtime) {
        this.addtime = addtime;
    }


}